﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Wedn.Net.Common;
using Wedn.Net.Utility;

namespace Wedn.Net.UnitTest
{
    [TestClass]
    public class UtilityTest
    {
        [TestMethod]
        public void MailHelperTest()
        {
            //加载全局设置
            Setting.Init(BLLFactory.BLLFactory.Instance.OptionManager.GetSetting());
            var to = "ice@wedn.net";
            MailHelper.SendMail(to, "测试发送邮件", "<font color=\"red\">测试</font>");
        }
    }
}
